package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.GoodsClass;
import org.darkforest.model.PBoothGoods;

import java.util.List;
import java.util.Map;

@DBMapper
public interface PBoothGoodsMapper {
    int deleteByPrimaryKey(Integer boothGoodsId);

    int insert(PBoothGoods record);

    int insertSelective(PBoothGoods record);

    PBoothGoods selectByPrimaryKey(Integer boothGoodsId);

    int updateByPrimaryKeySelective(PBoothGoods record);

    int updateByPrimaryKey(PBoothGoods record);

    List<PBoothGoods> selectRecommondGoodsByPage(PBoothGoods pBoothGoods);

    List<GoodsClass> selectGoodsClassIds();

    int updatePBoothGoodsStateByGoodsCommonIds(Map param);

    int deleteByGoodCommonIds(String[] goodsCommonIds);
}